
public class GetMenuByIngredient implements Command{


	InformationAggregator agg;
	String ingredient;
	public GetMenuByIngredient(InformationAggregator agg, String ingredient)
	{
		this.agg = agg;
		this.ingredient = ingredient;
	}
	
	public Menu execute()
	{		
		return agg.getMenu().getIngredientMenu(ingredient);
	}
}
